class Right < ActiveRecord::Base
    has_and_belongs_to_many :roles
    validates_presence_of :name,:message=>'没有填写频道名称'
end
